<?php

namespace Home\Model;

use Think\Model\ViewModel;

class VerdataViewModel extends ViewModel
{
    public $viewFields = [
        'BaseInfo' => [
            'batch',
            'inner_check_time',
            'amount_reply',
            'amount_design',
            'zone',
            'site_name',
            'construction_type',
            'category',
            'is_complete',
            'description',
            '_type' => 'right',
        ],
        'Verdata'=> [
            'id',
            'uid',
            'project_code',
            'type',
            'base',
            'conflict',
            'correct',
            'time',
            '_on' => 'Verdata.project_code=BaseInfo.project_code',
        ],
    ];
}
